<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:70:"D:\Development\wkyx\public/../application/index\view\admin\active.html";i:1535936939;s:71:"D:\Development\wkyx\public/../application/index\view\common\header.html";i:1534900110;s:71:"D:\Development\wkyx\public/../application/index\view\common\footer.html";i:1532576206;}*/ ?>

<!DOCTYPE html >
<html >
<head>
<meta charset="utf-8">

<title>吾酷羽协</title>
<link rel="stylesheet" type="text/css" href="<?php echo STATIC_PATH; ?>/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo STATIC_PATH; ?>/css/index.css">
<link rel="stylesheet" type="text/css" href="<?php echo STATIC_PATH; ?>/css/font.css">
<script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/bootstrap.min.js"></script>
<script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/index.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
	<div class="container margin-top">
		<div class="row">
			<div class="col-md-offset-1 col-md-10 col-sm-12">
				<div class="row">
					<div class="col-md-5 col-sm-9 col-xs-9 margin">
						<img src="<?php echo STATIC_PATH; ?>/image/yx.jpg" height="120px" width="100%">
					</div>
					<div class="col-md-5"></div>
					<div class="col-md-offset-5 col-md-2 col-sm-3 col-xs-3 margin">
						后台管理系统|<?php echo $admin; ?>							
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-offset-1 col-md-10 col-sm-12">
				<nav class="navbar navbar-default" role="navigation" style="margin:0;padding: 0">
				    <div class="container-fluid"> 
				    <div class="navbar-header">
				        <button type="button" class="navbar-toggle" data-toggle="collapse"
				                data-target="#example-navbar-collapse">
				            <span class="sr-only">切换导航</span>
				            <span class="icon-bar"></span>
				            <span class="icon-bar"></span>
				            <span class="icon-bar"></span>
				        </button>
				        <a class="navbar-brand" href="<?php echo url('Admin/index'); ?>">后台管理</a>
				    </div>
				    <div class="collapse navbar-collapse" id="example-navbar-collapse">
				        <ul class="nav navbar-nav">
				            <li><a href="<?php echo url('Admin/match'); ?>">最新赛况</a></li>
				            <li><a href="<?php echo url('Admin/active'); ?>">活动预告</a></li>
				            <li><a href="<?php echo url('Admin/user'); ?>">用户管理</a></li>
				            <li><a href="<?php echo url('Admin/alluser'); ?>">所有用户</a></li>
				            <li><a href="<?php echo url('Admin/common'); ?>">当前拼场</a></li>
				        </ul>
				    </div>
				    </div>
				</nav>
			</div>
		</div>
	</div>
	<div class="row margin-top padding-bottom">
		<div class="col-md-offset-2 col-md-7 col-xs-12">
			<?php if(is_array($res) || $res instanceof \think\Collection || $res instanceof \think\Paginator): $i = 0; $__LIST__ = $res;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?>
			<form class="form-horizontal" role="form" style="padding: 10px" method="get" action="<?php echo url('Admin/active_update'); ?>">
				<div class="form-group">
					<label for="lastname" class="col-sm-1 control-label"><?php echo $list['id']; ?></label>
					<div class="col-sm-8" style="margin-right: 0;padding-right: 0">
						<input type="text" class="form-control"  name="text" value="<?php echo $list['text']; ?>">
					</div>
					<label for="lastname" class="control-label " style="float: left;">|</label>
					<div class="col-sm-2 margin">
						<input type="text" class="form-control"  name="time" value="<?php echo $list['time']; ?>">
					</div>
					<input type="text" class="form-control"  name="id" value="<?php echo $list['id']; ?>" style="display: none;">
					<button type="submit" class="btn btn-default">更新</button>
				</div>
			</form>
			<?php endforeach; endif; else: echo "" ;endif; ?>
		</div>
	</div>
	<div class="home-fixed">
		<img src="<?php echo STATIC_PATH; ?>/image/gzh.jpg" alt="" width="100px" height="100px">
	</div>
	<nav class="navbar navbar-fixed-bottom adjust-footer">
    <div class="container">
        <p class="text-center text-primary">
            Copyright © 北京化工大学吾酷羽协
        </p>
    </div>
</nav>


</body>
</html>
